package dp.coffee.shop;

public class Application {

	public static void main(String[] args) {

		Boisson e1 = new Expresso();
		System.out.println(e1.getDescription());
		System.out.println(e1.cout());
		System.out.println("------------------------------");
		
		Boisson b2 = new Sumatra();
		System.out.println(b2.getDescription());
		System.out.println(b2.cout());
		System.out.println("------------------------------");
		
		e1 = new Lait(e1);
		System.out.println(e1.getDescription());
		System.out.println(e1.cout());
		System.out.println("------------------------------");
		
		e1 = new Chocolat(e1);
		System.out.println(e1.getDescription());
		System.out.println(e1.cout());
		System.out.println("------------------------------");
		
		e1 = new Chocolat(e1);
		System.out.println(e1.getDescription());
		System.out.println(e1.cout());
		System.out.println("------------------------------");
		
		e1 = new Chantilly(e1);
		System.out.println(e1.getDescription());
		System.out.println(e1.cout());
		System.out.println("------------------------------");
	}
}
